package tk.mybatis.springboot.wexin.bean;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Id;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 17年新父对象
 * @title:BaseEntitys
 * @form:Mr_xing
 * @author Administrator
 * @date 2017年3月3日 下午4:10:04
 */
public class BaseEntitys implements Serializable {
	private static final long serialVersionUID = -7969624463551768483L;

	@Id
	private String uuid;
	/** 创建时间 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date create_date;

	/** 修改时间 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date update_date;

	public String getUuid() {
		return uuid;
	}

	public void setUuid(String uuid) {
		this.uuid = uuid;
	}

	public Date getCreate_date() {
		return create_date;
	}

	public void setCreate_date(Date create_date) {
		this.create_date = create_date;
	}

	public Date getUpdate_date() {
		return update_date;
	}

	public void setUpdate_date(Date update_date) {
		this.update_date = update_date;
	}

	@Override
	public String toString() {
		return "BaseEntitys [uuid=" + uuid + ", create_date=" + create_date + ", update_date=" + update_date + "]";
	}

	public BaseEntitys() {
		super();
	}

}

